FROM java:8
EXPOSE 1111

VOLUME /tmp
ADD ./target/eureka_server-0.0.1-SNAPSHOT.jar  /app.jar
RUN touch /app.jar
ENTRYPOINT touch /tmp/nohup.log & java -jar /app.jar >> /tmp/nohup.log & tail -f /tmp/nohup.log